package com.relanet.service;

import com.relanet.model.NlpUser;

public interface IUserService {

	/**
	 * 是否首次登陆判断接口
	 * 
	 * @param uid
	 *            系统ID或者sinaUID
	 * @param uidType
	 *            1-系统id;2-sinaUID
	 * @return null-是;NlpUser-否
	 */
	public NlpUser isFirstLonin(long uid, int uidType);

	/**
	 * 记录用户信息,用于首次登陆
	 * 
	 * @param user
	 * @return
	 */
	public boolean recordUser(NlpUser nUser);

	/**
	 * 更新用户
	 * 
	 * @param nUser
	 * @return
	 */
	public boolean updateUser(NlpUser nUser);
}
